﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using KCMS.BusinessLogic.Interfaces;
using StructureMap;

namespace KCMS.Areas.Admin.Controllers
{
    public class ClientController : Controller
    {

        private IClientService clientService = ObjectFactory.GetInstance<IClientService>();
        public ActionResult Index()
        {
            return View(clientService.getAll());
        }
        [HttpGet]
        public ActionResult Details(Guid id)
        {
            return View(clientService.getById(id));
        }
    }
}
